﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="rss.aspx.cs" Inherits="AteneoLibri.rss"
    ContentType="text/xml" %>

<asp:repeater id="RepeaterRSS" runat="server">
    <HeaderTemplate>  
        <rss version="2.0">  
            <channel>  
                <title>AteneoLibri</title>  
                <link>http://www.ateneolibri.it</link>  
                <description>  
                Portale per la compramendita di testi universitari usati.  
                </description>  
    </HeaderTemplate> 
    <ItemTemplate>  
        <item>  
            <title><%# RemoveIllegalCharacters(DataBinder.Eval(Container.DataItem, "Title"))%></title>  
            <link>http://www.ateneolibri.it/BookDetails.aspx?IdBook=<%# DataBinder.Eval(Container.DataItem, "IdBook")%></link>  <%--www.ateneolibri.it--%>
            <author><%# RemoveIllegalCharacters(DataBinder.Eval(Container.DataItem, "Author"))%></author>  
            <pubDate><%# String.Format("{0:R}", DataBinder.Eval(Container.DataItem, "InsertDate"))%></pubDate>  
            <description><%# RemoveIllegalCharacters(DataBinder.Eval(Container.DataItem, "Note"))%></description>  
    </item>  
    </ItemTemplate>  
    <FooterTemplate>  
            </channel>  
        </rss>    
    </FooterTemplate> 
</asp:repeater>
